﻿using System;
using System.Collections.ObjectModel;
using EpiNEXT.Foundation;

namespace EpiNEXT.Services
{
    public class ProjectInfo : ObservableObject
    {
        public string Title { get; set; }
        public string FilePath { get; set; }
        public string Summary { get; set; }
        public string Description { get; set; }
        public string Author { get; set; }
        public DateTime LastSaved { get; set; }
        public DateTime Created { get; set; }
        public string Version { get; set; }
        public bool IsNewProject { get; set; }
        public ObservableCollection<FormInfo> Forms { get; set; }
        public bool IsExistingProject
        {
            get
            {
                return !IsNewProject;
            }
        }

        public ProjectInfo()
        {
            IsNewProject = false;
            Forms = new ObservableCollection<FormInfo>();
        }
    }
}
